package com.itcast.demo_one.kotlin

fun main() {
    /*var age: Int? = null
    age?.let {
        println("年龄为：$it")
    }

    var name: String? = null
    val length = name?.length ?: -1*/

    lateinit var name: String
    name = "张三"

}